<div class="post">
    <a href="/post/view/{$data->post_id}" class="title">{CHtml::encode($data->title)}</a>
    <p class="date">{$data->publish_date|date_format:"%e.%m.%Y %H:%M"}</p>
    <p class="text">{CHtml::encode($data->short_description)}</p>
    {if ($isAuthor == true)}
    <a href="/post/delete/{$data->post_id}" class="more">Удалить</a><a href="/post/update/{$data->post_id}" class="more">Редактировать</a> 
    {/if}
    <a href="/post/view/{$data->post_id}" class="more">Подробнее</a>
</div>